export { Constant }

import { _decorator, Component, Node, v3 } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Constant')
class Constant extends Component {

    static Group = {
        Default: 1 << 0,
        Character: 1 << 1,
        Item: 1 << 2,
        Knife: 1 << 3,
    }

    static Desc = [];

    //界面优先级
    static PRIORITY = {
        NORMAL: 10,     //普通界面
        DIALOG: 100,    //弹窗的Z序
        REWARD: 200,    //奖励的弹窗
        LOADING: 300,   //加载界面
        TIPS: 400,      //提示
    }

    static Path = {
        DamageText: "Prefabs/UI/DamageText",
    }

    static Key = {
        AgreePolicy: "AgreePolicy",
        Music: "Music",
        SFX: "SFX",
        Vibration: "Vibration",
        Lv: "Lv",
        Money: "Money",
        EquipedIndexs: "EquipedIndexs",
    }
}

export enum QUALITY {
    GOOD,
    RARE,
    EPIC,
    MYTHIC
}